package com.cennavi.mineplay.mineplay_data.bean;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class RedisConfigBean {
    @Value("${spring.linkmsg.redis.host}")
    private String host;
    @Value("${spring.linkmsg.redis.port}")
    private int port;
    @Value("${spring.linkmsg.redis.url}")
    private String url;
    @Value("${spring.linkmsg.redis.password}")
    private String password;
    @Value("${spring.linkmsg.redis.dbname}")
    private String dbName;
	public String getDbName() {
		return dbName;
	}
	public void setDbName(String dbName) {
		this.dbName = dbName;
	}
	public String getHost() {
		return host;
	}
	public void setHost(String host) {
		this.host = host;
	}
	public int getPort() {
		return port;
	}
	public void setPort(int port) {
		this.port = port;
	}
	public String getUrl() {
		return url;
	}
	public void setUrl(String url) {
		this.url = url;
	}
	public String getPassword() {
		return password;
	}
	public void setPassword(String password) {
		this.password = password;
	}
}
